﻿using Framework.Utility.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MonitorCode.DBCode
{
    public interface IDBService
    {
        TData ExecuteNonQuery(string sql);
        TData GetCountBySql(string sql);
        TData GetListBySql<T>(string sql);

        List<T> GetDataListBySql<T>(string sql);
    }
}
